import { makeAutoObservable } from "mobx"

interface userInfo {
    name: string,
    phone: string
}

class UserStore {
    userInfo: userInfo = {
        name: '',
        phone: ''
    }
    constructor() {
        makeAutoObservable(this)
    }

    // 获取用户信息
    getUserInfo() {
        this.userInfo = {
            name: 'xff',
            phone: '13212321321'
        }
    }
}

export default UserStore
